package com.application.lucky.request.nav;



import com.application.lucky.BuildConfig;
import com.application.lucky.request.CallBackEx;
import com.baselib.libnetwork.net.libnetworkcomponent.PieBaseRequest;

import java.util.HashMap;
import java.util.Map;

/**
 * @author lixiaoyu
 * @version v1.0
 * @description
 * @since 2018/1/24
 */

public class FrontEndRequest extends PieBaseRequest {
    private static String SERVER_ADDRESS = BuildConfig.SERVER_ADDRESS;


    public void getConfig(String key, String value, CallBackEx callBackEx) {
        Map<String,String>param = new HashMap<>();
        param.put(key,value);
        param.put("app","red");
        get(SERVER_ADDRESS, param,callBackEx);
    }
}
